package com.hugboy.string;

import java.util.Scanner;

public class Demo5charAt {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("input a str:");
        String scStr = sc.nextLine();

        for(int i=0; i<scStr.length(); i++){
            char c = scStr.charAt(i);
            System.out.println(c);
        }
    }
}
